import Vue from 'vue';
import App from './main.vue';
import store from './config/store.js'
import router from './config/routers.js'
import { Toast,Dialog } from 'vant';
import './assets/main.less';
import 'vant/lib/index.css'

import Axios from './config/axios';
Vue.prototype.Axios    = Axios;
Vue.use(Dialog);
Vue.use(Toast);

new Vue({
    el: '#app',
    router: router,
    store,
    render: h => h(App)
});